"use client";

import {IconList, IconListCheck} from "@tabler/icons-react";

import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";

const subHeader = {
  zh: "待办事项",
  en: "Tasks System",
  base: "/ipdv2/tasks",
  nav: [
    {label: "我的待办", link: "todo", icon: IconList},
    {label: "我的已办", link: "done", icon: IconListCheck},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
